package com.cragon.service.impl;

import com.cragon.service.IService2;
import org.apache.dubbo.config.annotation.DubboService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Author 周海龙
 * @Date 2023年10月24日
 */
@Service
@DubboService
public class ServiceImpl2 implements IService2 {
    private final Logger logger = LoggerFactory.getLogger(ServiceImpl2.class);

    @Override
    public String getMessage() {
        logger.info("进入提供者ServiceImpl2类");
        return "The second message of the ServiceImpl2!!!";
    }
}
